import SvgIcon from '@/components/templates/common/SvgIcon'// 导入 svg 组件

Vue.component('svg-icon', SvgIcon)

const requireAll = requireContext => requireContext.keys().map(requireContext)
const req = require.context('./svg', false, /\.svg$/)
requireAll(req)

const memberCenter = requireContext => requireContext.keys().map(requireContext)
const memberCenters = require.context('./svg/memberCenter', false, /\.svg$/)
memberCenter(memberCenters)